package initialization;

public class VerifyThis {
    public void method1(){
        System.out.println("1");
        method2().method2();
    }
    public VerifyThis method2(){
        System.out.println("2");
        return this;
    }
    public static void main(String[] args) {
        VerifyThis t = new VerifyThis();
        t.method1();
    }
}
